package com.system.data.service;

import com.system.data.dao.JingdongFrequencyDao;
import com.system.data.model.JingdongFrequency830;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Service
public class JingdongFrequencyService {
    @Autowired
    private JingdongFrequencyDao jingdongFrequencyDao;

    public List<JingdongFrequency830> findJingDongFrequency(@RequestParam String variety){
        return jingdongFrequencyDao.findJingDongFrequency(variety);
    }
}
